<?php /* Smarty version Smarty-3.0.7, created on 2014-08-20 00:03:59
         compiled from "E:\project\xampp\htdocs\farmonline\code/modules/cheque/payment_execution.tpl" */ ?>
<?php /*%%SmartyHeaderCode:514953f3837fd6c1f8-88541772%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ddb573a93f3875a3bdad3a16994b87a1f6d6c485' => 
    array (
      0 => 'E:\\project\\xampp\\htdocs\\farmonline\\code/modules/cheque/payment_execution.tpl',
      1 => 1408258880,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '514953f3837fd6c1f8-88541772',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>


<?php ob_start(); ?><?php echo smartyTranslate(array('s'=>'Cheque payment','mod'=>'cheque'),$_smarty_tpl);?>
<?php  Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_dir')->value)."./breadcrumb.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>

<h2><?php echo smartyTranslate(array('s'=>'Order summary','mod'=>'cheque'),$_smarty_tpl);?>
</h2>

<?php $_smarty_tpl->tpl_vars['current_step'] = new Smarty_variable('payment', null, null);?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_dir')->value)."./order-steps.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>

<?php if (isset($_smarty_tpl->getVariable('nbProducts',null,true,false)->value)&&$_smarty_tpl->getVariable('nbProducts')->value<=0){?>
	<p class="warning"><?php echo smartyTranslate(array('s'=>'Your shopping cart is empty.'),$_smarty_tpl);?>
</p>
<?php }else{ ?>

<h3><?php echo smartyTranslate(array('s'=>'Thanh toán khi giao hàng','mod'=>'cheque'),$_smarty_tpl);?>
</h3>
<form action="<?php echo $_smarty_tpl->getVariable('this_path_ssl')->value;?>
validation.php" method="post">
	<p>
		<img src="<?php echo $_smarty_tpl->getVariable('this_path')->value;?>
cheque.jpg" alt="<?php echo smartyTranslate(array('s'=>'cheque','mod'=>'cheque'),$_smarty_tpl);?>
" width="86" height="49" style="float:left; margin: 0px 10px 5px 0px;" />
		<?php echo smartyTranslate(array('s'=>'Bạn đã chọn thanh toán khi giao hàng','mod'=>'cheque'),$_smarty_tpl);?>

		<br/><br />
		<?php echo smartyTranslate(array('s'=>'Tóm tắt đặt hàng của bản:','mod'=>'cheque'),$_smarty_tpl);?>

	</p>
	<p style="margin-top:20px;">
		- <?php echo smartyTranslate(array('s'=>'Tổng tiền trên hóa đơn','mod'=>'cheque'),$_smarty_tpl);?>

		<span id="amount" class="price"><?php echo Tools::displayPriceSmarty(array('price'=>$_smarty_tpl->getVariable('total')->value),$_smarty_tpl);?>
</span>
	</p>
	<p>
		<b><?php echo smartyTranslate(array('s'=>'Vui lòng xác nhận đặt hàng của bạn bằng cách nhấn  xác nhận đơn hàng của tôi ','mod'=>'cheque'),$_smarty_tpl);?>
.</b>
	</p>
	<p class="cart_navigation">
		<a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('order.php',true);?>
?step=3" class="button_large hideOnSubmit"><?php echo smartyTranslate(array('s'=>'Other payment methods','mod'=>'cheque'),$_smarty_tpl);?>
</a>
		<input type="submit" name="submit" value="<?php echo smartyTranslate(array('s'=>'I confirm my order','mod'=>'cheque'),$_smarty_tpl);?>
" class="exclusive_large hideOnSubmit" />
	</p>
</form>
<?php }?>
